using Nop.Core.Domain.Common;

namespace Nop.Data.Mapping.Common
{
    public partial class FlowMap : NopEntityTypeConfiguration<Flow>
    {
        public FlowMap()
        {
            this.ToTable("Flow");
            this.HasKey(c => c.Id);
            
            this.Property(p => p.Name).IsRequired().HasMaxLength(50);
            this.Property(p => p.SystemName).IsRequired().HasMaxLength(50);
            
            //Ignore Property
            
            //Relation Mapping
            
        }
    }
}
